import request from '@/utils/request'
// 路径列表
export const systemGetRouteList = (data: any) =>
  request({
    url: '/route/list',
    method: 'post',
    data
  })
// 创建路径
export const systemCreateRoute = (data: any) =>
  request({
    url: '/route/create',
    method: 'post',
    data
  })
// 修改路径
export const systemModifyRoute = (data: any) =>
  request({
    url: '/route/update',
    method: 'post',
    data
  })
// 删除路径
export const systemDeleteRoute = (data: any) =>
  request({
    url: '/route/delete',
    method: 'post',
    data
  })
